package com.usian.hero.mapper;

import com.usian.hero.entity.Hero;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.hero.entity.HeroDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-06-25
 */
@Mapper
public interface HeroMapper extends BaseMapper<Hero> {

    List<HeroDto> findAll(@Param("dto") HeroDto dto);
}
